package com.ziqikeji.xianyan.entity.category;

import com.ziqikeji.xianyan.common.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 故事分类
 * @author liuyu
 */
@Entity
@Table(name = "category")
public class Category extends BaseEntity {
    /**
     * 故事名称
     */
    private String text;
    /**
     * 分类描述
     */
    private String description;

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
